
import java.io.*;

public class Matches implements FilenameFilter
{
	private String filename;
	
	public Matches( String filename )
	{
		this.filename = filename.toLowerCase();
	}
	
	public boolean accept(File dir, String name)
	{	
		return name.toLowerCase().contains(filename);
	}

}
